/*
 * @Description: 默认全局路由文件
 * @version: 1.0
 * @Author: ziwei
 * @Date: 2021-08-14 17:29:02
 * @LastEditors: ziwei
 * @LastEditTime: 2021-08-14 17:49:56
 */
import React,{Component} from 'react'
import {Link} from 'umi'

export default class extends Component{
    render(){
        return(
            <div>
                <ul>
                   <Link to='/'>首页</Link> 
                   <Link to='/user'>用户管理</Link> 
                   <Link to='/profile'>个人设置</Link> 
                </ul>
                <div>
                    {this.props.children}
                </div>
            </div>
        )
    }
}